﻿using Model.BusinessModel.OutPut;
using Model.DomainModel.Sys;
using Utility;

namespace DomainService.IService.Sys
{
    /// <summary>
    /// 用户服务接口
    /// </summary>
    public interface ISysUserService
    {
        /// <summary>
        /// 测试Autofac
        /// </summary>
        /// <returns></returns>
        string TestAutofac();

        /// <summary>
        /// 查询所有用户
        /// </summary>
        /// <returns></returns>
        List<SysUser> GetAllUser();

        /// <summary>
        /// 根据用户名称和密码获取用户信息
        /// </summary>
        /// <param name="userName">用户名称</param>
        /// <param name="password">用户密码</param>
        /// <returns></returns>
        ReceiveStatus<LoginOutPut> GetUserMsg(string userName, string password);
    }
}
